<%-- 
    Document   : carDetails
    Created on : Sep 20, 2011, 3:34:44 PM
    Author     : Lunardrik
--%>

<%@page import="java.util.Dictionary"%>
<%@page import="java.util.Hashtable"%>
<%@page import="xml.Generator"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Details</title>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<link rel="stylesheet" type="text/css" href="css/menu.css"/>
<link rel="stylesheet" type="text/css" href="css/button.css"/>
</head>

<body>
	<div id="container">
    	<div id="logo">
            	<img src="images/logo_top.gif" width="500" height="62" alt="logo" />
        </div>
        <%
            Dictionary<String, String> params = new Hashtable<String, String>();
            
            params.put("iID", request.getParameter("itemID"));
            
            String html = Generator.xmlTransformWithParams(getServletContext().getRealPath("WEB-INF/carDetails.xsl"),getServletContext().getRealPath("WEB-INF/cars.xml"), params);
            
            out.write(html);
        %>
       	<div id="footer" class="navigation" style="margin-top:100px;">
            <span style="margin-top:10px">Copyright by LocHT. All right reserved.</span>
        </div>
    </div>
        	
</body>
</html>
